package com.domain.movieComment;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 详细短评
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@Document
@AllArgsConstructor
@NoArgsConstructor
public class DetailComment implements Serializable {
    private static final long serialVersionUID = 42L;

    @Id
    private String id;
    /**
     * 关联电影
     */
    private String movieId;
    private Integer agreeCount;
    private String commentee;
    private Double score;
    private LocalDateTime createdTime;
    private String content;

}
